# -*- coding: utf-8 -*-
# @Time    : 19-4-4 下午6:00
# @Author  : huzheng

# 通过adb获得手机基本信息
get_pix = "adb shell wm size"
get_device_num = "adb get-serialno"
get_api = "adb shell getprop ro.build.version.sdk"
get_model = "adb -d shell getprop ro.product.model"
get_brand = "adb -d shell getprop ro.product.brand"
get_version = "adb shell getprop ro.build.version.release"
get_cpu_core = "adb shell cat /sys/devices/system/cpu/present"

# 通过adb获得软件性能数据
get_battery = "adb shell dumpsys battery"
get_memory = "adb shell dumpsys meminfo "
get_temperature = "adb shell dumpsys battery | grep temperature"
get_cpu = "adb shell top -n 1 | grep -e CPU -e "


